package com.turman.blibrary.log;

/**
* 日志配置类
* @author buobao
* @since 2024/2/26 17:20
*/
public abstract class BLogConfig {
    static int MAX_LEN = 512;
    static BThreadFormatter THREAD_FORMATTER = new BThreadFormatter();
    static BStackTraceFormatter STACK_TRACE_FORMATTER = new BStackTraceFormatter();
    public JsonParser injectJsonParser() {
        return null;
    }

    //tag配置
    public String getGlobalTag() {
        return "BLog";
    }

    public boolean enable() {
        return true;
    }

    public boolean showThread() {
        return false;
    }

    public int staceTraceDepth() {
        return 0;
    }

    public BLogPrinter[] printers() {
        return null;
    }

    public interface JsonParser {
        String toJson(Object src);
    }
}
